<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
        <head>
                <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
                <title>京北网上商城-综合网购首选（JD.COM）-正品低价、品质保障、货到付款、配送及时、放心服务、轻松购物！</title>
                <meta content="京北JD.COM-专业的综合网上购物商城，在线销售家电、数码通讯、电脑、家居百货、服装服饰、母婴、图书、食品、在线旅游等数万个品牌千万种优质商品。便捷、诚信的服务，为您提供愉悦的网上商城购物体验! " name="description">
                        <meta content="网上购物,网上商城,手机,笔记本,电脑,MP3,CD,VCD,DV,相机,数码,配件,手表,存储卡,京北商城" name="Keywords">
                                <link rel="stylesheet/less" href="__PUBLIC__/css/common.less" />
                                <script  type="text/javascript" src="__PUBLIC__/js/jquery.js" ></script>
                                <link rel="stylesheet/less" href="__PUBLIC__/css/list.less" />
                                <link rel="stylesheet/less" href="__PUBLIC__/css/member.less" />
                                <script  type="text/javascript" src='__PUBLIC__/js/list.js'></script>
                                <script src="__PUBLIC__/js/less.js" type="text/javascript"></script>
                                <script>
                                        $(function() {
                                                $('.comment').click(function() {
                                                        var olid = $(this).attr('olid');
                                                        $.modal({
                                                                width: 550,
                                                                height: 300,
                                                                title: "添加评论",
                                                                button: false,
                                                                success: function() {
                                                                        $.removeModal();
                                                                        12
                                                                },
                                                                content: '<form action="" method="post" class="hd-form">' +
                                                                        '<table class="table3">' +
                                                                        '<tr><td> 添加标签：</td><td><input type="hidden" name="order_list_olid" value="'+olid+'"><input type="text" name="cotag"/></tr>' +
                                                                        '<tr><td>评论内容：</td><td><textarea name="cotext" style="width:350px;height:150px;"></textarea></td></tr>' +
                                                                        '<tr><td colspan="2"><input type="submit" value="提交评论" class="btn btn-primary hd-success"/></td></tr></table>' +
                                                                        '</form>'
                                                        });
                                                })
                                        })
                                </script>
                                <script src="__PUBLIC__/js/less.js" type="text/javascript"></script>
                                <hdjs/>
                                <include file="__PUBLIC__/header.html"/>
                                <!-- 当前在哪个分类区域 -->
                                <div class="container">
                                        <div class="now_cate">
                                                <strong><a href="{|U:'Member/index'}">我的京北</a></strong>&nbsp;&nbsp;&nbsp;&nbsp;＞
                                                <span>我的订单</span>
                                        </div>
                                        <div class="member_area">
                                                <div class="member_cate">
                                                        <div class="menu">
                                                                <h3>个人中心</h3>
                                                                <dl>
                                                                        <dt><a href="{|U:'Member/index'}">我的主页</a></dt>
                                                                </dl>
                                                        </div>
                                                        <div class="menu">
                                                                <h3>我的交易</h3>
                                                                <dl>
                                                                        <dt><a href="javascript:;" class='cate_active'>我的订单</a></dt>
                                                                </dl>
                                                        </div>
                                                        <div class="menu">
                                                                <h3>设置</h3>
                                                                <dl>
                                                                        <dt><a href="{|U:'Member/set'}">个人信息</a></dt>
                                                                </dl>
                                                                <dl>
                                                                        <dt><a href="{|U:'Member/comment'}">我的评价</a></dt>
                                                                </dl>
                                                        </div>
                                                </div>
                                                <div class="member_right">
                                                        <div class="remind">
                                                                <h3>我的订单</h3>
                                                                <div class="remind_content">
                                                                        <dl>
                                                                                <dt>便利提醒</dt>
                                                                                <dd><a href='{|U:"myorder",array("act"=>"comment")}'>待评论(<if value="$nowNum">{$nowNum}<else>0</if>)</a></dd>
                                                                                <dd><a href='{|U:"myorder",array("act"=>"confirm")}'>待确认收货({$havesend})</a></dd>
                                                                                <dd><a href='{|U:"myorder",array("act"=>"waitsend")}'>待发货({$waitsend})</a></dd>
                                                                                <dd><a href='{|U:"myorder",array("act"=>"end")}'>已完成({$end})</a></dd>
                                                                        </dl>

                                                                </div>
                                                                <h3 class='allorder'>全部订单</h3>
                                                                <div class="order_content">
                                                                        <div class="order_title">
                                                                                <ul> 	 	
                                                                                        <li class='order_info'>订单信息</li>
                                                                                        <li class='people'>收货人</li>
                                                                                        <li class='order_price'>订单金额</li>
                                                                                        <li class="orderttime">
                                                                                                下单时间
                                                                                        </li>
                                                                                        <li class='orderttime'>
                                                                                                订单状态
                                                                                        </li>
                                                                                        <li class='order_operate'>操作</li>
                                                                                </ul>
                                                                        </div>
                                                                        <div class="order_area">
                                                                                <foreach from='$data' value='$v'>
                                                                                        <ul> 	 	
                                                                                                <li class='order_info'>
                                                                                                        <div class="p_img">
                                                                                                                <a href="{|U:'Content/index',array('gid'=>$v['gid'])}"><img src="__ROOT__/{$v.listimg}"  width='50' height='50'/></a>
                                                                                                        </div>
                                                                                                        <div class="p_title">
                                                                                                                <a href="{|U:'Content/index',array('gid'=>$v['gid'])}">{$v.gname|hd_substr:25,' '}{$v.consignee}</a>&nbsp;x{$v.buynumber}
                                                                                                        </div>
                                                                                                        <div class="order_num">
                                                                                                                订单编号：{$v.onumber}
                                                                                                        </div>
                                                                                                </li>
                                                                                                <li class='people'>{$v.receiver}</li>
                                                                                                <li class='order_price'>￥{$v.price}<br />货到付款</li>
                                                                                                <li>
                                                                                                        <span>{$v.time|hd_date:'Y-m-d H:i:s'}</span>

                                                                                                </li>
                                                                                                <li>
                                                                                                        <if value='$v.orderstatu eq "已发货"'>
                                                                                                                <a href="{|U:'Member/send',array('olid'=>$v['olid'])}" class='btn btn-danger'>确认付款</a>
                                                                                                                <else>
                                                                                                                        <i>{$v.orderstatu}</i>
                                                                                                        </if>
                                                                                                </li>
                                                                                                <li class='order_operate'>
                                                                                                        <if value="in_array($v['olid'],$noComm)">
                                                                                                                <a href="javascript:;" olid='{$v["olid"]}' class="comment">评论</a>
                                                                                                                <else>
                                                                                                                        <a href="{|U:'Content/index',array('gid'=>$v['gid'])}">查看商品</a>
                                                                                                        </if>

                                                                                                </li>
                                                                                        </ul>
                                                                                </foreach>
                                                                        </div>
                                                                </div>
                                                        </div>
                                                </div>
                                        </div>
                                </div>

                                <!-- 当前在哪个分类区域结束 -->
                                <include file="__PUBLIC__/foot.html"/>